POV-Ray : Newsgroups : povray.newusers : sin in sor or lathe : Re: sin in sor or lathe Server Time
6 Oct 2024 01:39:26 EDT (-0400)
  Re: sin in sor or lathe  
From: clipka
Date: 5 Aug 2009 17:20:10
Message: <4a79f78a$1@news.povray.org>
McMinty schrieb:
> Hi,
>
> I have a strange problem, where I were not able to find a solution on the net so
> far.
>
> When I use a "sin(...)" in a sor- or lathe-object, the argument of the function
> cannot exceed Pi.
>   

This is not a problem with the sin function per se, but with its 
function result becoming negative, which sor and lathe will refuse to 
accept in the X coordinate. For instance, the following should work 
perfectly:

sor{5,
    <1,2>,
    <1+sin(3),3>,
    <1+sin(1.001*Pi),5>,
    <4,6>,
    <1,7>
    pigment{color Blue}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.